<?php

?>

<?php
//echo "<h1>Q1</h1>";
?>
<form class="form-horizontal" role="form">
  	<div class="h4 ">过去的五年里，有没有至少3年比较活跃的投资管理经验?</div>
  	<div class="label label-info">注：投资包括房产投资，股票，古董字画等。自住房不能算作投资项目。活跃=有定期做买卖活动</div>
  	<div class="radio">
		<label class="radio-inline">
		<input type="radio" name="investlast5have3" id="investlast5haveY" value="是"> 是
		</label>
		<label class="radio-inline">
		<input type="radio" name="investlast5have3" id="investlast5have3N" value="否" checked>否
		</label>
	</div>
	
	<div id="ifinvestlast5haveY" style="display: none;margin-top: 15px;">
		<div class="h4 ">你过去的五年里，有没有至少一年的总投资额超过150万澳元？</div>
		<div class="label label-info">注：如投资项目涉及贷款，必须扣除贷款金额。</div>
		<div class="radio">
			<label class="radio-inline">
			<input type="radio" name="investlast5have1timeover150w" id="investlast5have1timeover150wY" value="是"> 是
			</label>
			<label class="radio-inline">
			<input type="radio" name="investlast5have1timeover150w" id="investlast5have1timeover150wN" value="否" checked>否
			</label>
		</div>
	</div>	
	
	<div id="ifinvestlast5have1timeover150wY" style="display: none;margin-top: 15px;">
		<div class="h4 ">你过去的五年里，有没有至少一年通过投资赚得150万澳币？</div>
		<div class="label label-info">注：必须扣除当初投资金额以及贷款金额。</div>
		<div class="radio">
			<label class="radio-inline">
			<input type="radio" name="investlast5have1timeearn150w" id="investlast5have1timeearn150wY" value="是"> 是
			</label>
			<label class="radio-inline">
			<input type="radio" name="investlast5have1timeearn150w" id="investlast5have1timeearn150wN" value="否" checked>否
			</label>
		</div>
	</div>	
  
</form>

<script>
	
	$(document).ready(function() {
		
    $('input[type=radio][name=investlast5have3]').change(function() {
        if (this.value == '否') {
            //alert("否");
            $("#ifinvestlast5haveY").hide();
        }
        else if (this.value == '是') {
            //alert("是");
            $("#ifinvestlast5haveY").show();
        }
    });
    
    $('input[type=radio][name=investlast5have1timeover150w]').change(function() {
        if (this.value == '否') {
            //alert("否");
            $("#ifinvestlast5have1timeover150wY").hide();
        }
        else if (this.value == '是') {
            //alert("是");
            $("#ifinvestlast5have1timeover150wY").show();
        }
    });
});
</script>